<?php
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
$return=array();
if($_RQ['op']=='get'){
	$list = array(
			array('title'=>'个性类','list'=>array(
					array('name'=>'jy_park_yuyue','title'=>'游乐场预约','desc'=>'游乐场预约，预约排号','icon'=>''),
					array('name'=>'jy_yuyue4s','title'=>'4S店预约','desc'=>'4S店预约,经销商预约','icon'=>''),
					array('name'=>'jy_yuyuelive','title'=>'现场报名','desc'=>'参加活动，活动预约报名，身份证识别','icon'=>''),
			)),
			array('title'=>'辅助类','list'=>array(
					array('name'=>'jy_yuyuediy','title'=>'预约DIY装修','desc'=>'自由搭建个性预约，做不一样的预约活动！','icon'=>''),
			)),
	);
	foreach($list as &$type){
		foreach($type['list'] as &$p){
			$install = pdo_get('core_plugins',array('name'=>$p['name']));
			if($install){
				$p['is_install'] = 1;
				$p['is_show'] = 1;
			}else{
				$p['is_install'] = 0;
				$p['is_show'] = 0;
				if($_SESSION['isfounder']){
					$p['is_show'] = 1;
				}
			}
			
		}
	}
	$return['list']=$list;
	exi($return);
}

?>